package cn.com.fuhuitong.main.home.entity

import cn.com.fuhuitong.http.BaseResponse
import java.io.Serializable

data class CharityListResponse(
    val data: MutableList<CharityListEntity> = mutableListOf()
) : BaseResponse()

data class CharityListEntity(
    val start_time: Long,
    val id: Int,
    val end_time: Long,
    val address: String,
    val title: String,
    val is_sign_up: Boolean,
    val image: String,
    val is_time_cancel: Int
) : Serializable

data class CharityDetailsResponse(
    val data: CharityDetailsEntity
) : BaseResponse()

data class CharityDetailsEntity(
    val address: String,
    val content: String,
    val createtime: Int,
    val end_time: Long,
    val id: Int,
    val sort: Int,
    val start_time: Long,
    val switch: Int,
    val title: String,
    val url: String,
    val image: String,
    val file: String,
    val is_time_cancel: Int
)

data class CharitySignUpEntity(
    var charity_id: String,
    var name: String,
    var mobile: String,
    var arrive_time: Long
)